// 下载历史记录接口
export interface DownloadHistory {
  id: number
  platform: string
  title: string
  downloadTime: string
  status: 'completed' | 'downloading' | 'failed'
}

// 下载详情接口
export interface DownloadDetail {
  title: string
  text: string
  images?: string[]
  videos?: string[]
}

// 状态类型映射
export const StatusTypeMap: Record<string, string> = {
  completed: 'success',
  downloading: 'primary',
  failed: 'danger'
} as const

// 状态文本映射
export const StatusTextMap: Record<string, string> = {
  completed: '已完成',
  downloading: '下载中',
  failed: '失败'
} as const 